<?php

namespace Home\Model ;
use Home\Model\CommonModel ; 


    class UserModel extends CommonModel{
        
            protected $_validate = array(
                   
            );
        
        
        /*  
         * 登入函数
         * @param array ($user,$pass)
         * @return redirect;
         */
       static function login($data){
           $user = $this->where($data)->find();
          
        }
        
        
        
        
        
        
        
        
        
        
    }